Technotes


Download

Acrobat file (26K)
Download

PDD file (212K)
Download

AppleWorks file (39K)

Inside Macintosh: QuickDraw GX Environment and Utilities Errata



Technote 1022FEBRUARY 1996


Important for all Apple Printing and Graphics Developers:

The information in this Technote is still relevant up to and including Mac OS 7.6 with QuickDraw GX 1.1.5. Beginning with the release of Mac OS 8.0, however, Apple plans to deliver a system which incorporates QuickDraw GX graphics and typography only. QuickDraw GX printer drivers and GX printing extensions will not be supported in Mac OS 8.0 or in future Mac OS releases. Apple's goal is to simplify the user experience of printing by unifying the Macintosh graphic and printing architectures and standardizing on the classic Printing Manager.

For details on Apple's official announcement, refer to </technotes/gxchange.html>

Apple Developer Technical Support (DTS)

This Technical Note discusses known errors and omissions in Inside Macintosh: QuickDraw GX Environment and Utilities.

Topics:

  • Correction to Table 7-3 January 1996
  • Correction to Section "Data Type Opcodes to Modify a Shape Object" January 1996
  • Correction to Table 7-4 January 1996
  • Correction to Table 7-5 January 1996
  • Correction to Listing 7-1 January 1996
  • Correction to Section "Header Data" January 1996
  • Correction to Table 7-14 January 1996
  • Correction to Table 7-15 January 1996

Contents

Chapter 7 - QuickDraw GX Stream Format

Correction to Table 7-3 Page 7-16, Data Type Opcodes for a new object

Constant	Current Value	Corrected Value
gxGlyphType		0x10		0x0A
gxLayoutType		0x11		0x0B
gxFullType		0x12		0x0C
gxPictureType		0x13		0x0D

Correction to Section 'Data Type Opcodes to Modify a Shape Object' Page 7-17

The sentence that reads "Data type opcode constants for attributes, tag, ink, and fill are defined in the gxShapeDataOpcode enumeration." is incorrect; ink is not part of the enumeration.

Correction to Table 7-4 Page 7-17, Data Type opcodes to modify a style object

Current Constant		Corrected Constant
gxTagOpcode				gxShapeTagOpcode
gxFillOpcode				gxShapeFillOpcode

Correction to Table 7-5 Page 7-19, Data Type opcodes to modify a style object

Constant			Current Value	Corrected Value
gxStyleRunPriorityJustOverrideOpcode		0x1F		0x0F

Correction to Listing 7-1 Page 7-27, Determining if position (x) is byte compressed

if ((a & (gxOmitTextPositionXMask >> gxOmitTextPositionXShift)) == 
	gxByteCompression
should be:

if ((a & (gxOmitTextPositionXMask >> gxOmitTextPositionXShift)) == 
	gxByteCompression)

Correction to Section 'Header Data' Page 7-27

The sentence that reads "The header marks the beginning of a new flattened shape in the data stream" should read:

"The header marks the beginning of the first flattened shape in the data stream."

Correction to Table 7-14 Page 7-62, Analysis of the data stream of a flattened line shape

Values in data stream	Type of Info.	Current Value	Corrected Value
0x2F (00 101111)		Compression 		2		0
		 		type opcode
...
0x28 (00 101000)		Compression  		2		0
		 		type opcode

Correction to Table 7-14 Page 7-63, Analysis of the data stream of a flattened line shape

Values in data stream		Type of Info.	Should be
0x83 (00 000011)			Compression	Byte Compression 
					type opcode

Correction to Table 7-15 Page 7-66, Analysis of the data stream of a flattened rectangle shape

Values in data stream	Type of Info.	Current Value	Corrected Value
0x09 (00 001001)		Record Size		5		9
...
0x00 4B				Data			125.0		75.0

Correction to Section 'Analyzing a Flattened Curve Shape' Page 7-67

The sentence that reads "The size and shape of the curve are defined by its first point (210.0), control point (460.0, 75.0), and last point (310.0, 125.0)." should read:
"The size and shape of the curve are defined by its first point (210.0, 25.0), control point (460.0, 75.0), and last point (310.0, 125.0)."




Technotes
Previous Technote | Contents | Next Technote